package com.diy.web.controller;

import com.diy.common.bussiness.controller.BaseManagerController;
import com.diy.common.bussiness.service.defaultService.DefaultSingleSaveable;
import com.diy.service.module.model.UserBean;
import com.diy.service.module.queryParams.UserQueryParamsBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by GY on 2015/11/21.
 */
@RestController
@RequestMapping(value = "/single")
public class SingleController extends BaseManagerController<UserBean,UserQueryParamsBean,UserBean> {


    @Autowired
    public SingleController(DefaultSingleSaveable<UserBean, UserQueryParamsBean> defaultSaveable) {
        super(defaultSaveable, UserBean.class,UserQueryParamsBean.class);
    }


}
